/**
 * task status
 * ========================================
 * js switch case ===
 */

export default {
  ALL: -1,
  WAIT: 1,
  CHECK: 2,
  FINISH: 3,
  REJECT: 4,
  statusText: (status) => {
    switch (status) {
      case 1:
        return '待完成'
      case 2:
        return '待审核'
      case 3:
        return '已完成'
      case 4:
        return '已驳回'
    }
  }
}
